<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>DLC Search Engine: dataaccess.dao.WordDAO Interface Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">DLC Search Engine
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacedataaccess.html">dataaccess</a>      </li>
      <li class="navelem"><a class="el" href="namespacedataaccess_1_1dao.html">dao</a>      </li>
      <li class="navelem"><a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html">WordDAO</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">dataaccess.dao.WordDAO Interface Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="dataaccess::dao::WordDAO" --><div class="dynheader">
Inheritance diagram for dataaccess.dao.WordDAO:</div>
<div class="dyncontent">
 <div class="center">
  <img src="interfacedataaccess_1_1dao_1_1_word_d_a_o.png" usemap="#dataaccess.dao.WordDAO_map" alt=""/>
  <map id="dataaccess.dao.WordDAO_map" name="dataaccess.dao.WordDAO_map">
<area href="classdataaccess_1_1postgresql_1_1_postgre_s_q_l_word_d_a_o.html" alt="dataaccess.postgresql.PostgreSQLWordDAO" shape="rect" coords="0,56,267,80"/>
</map>
 </div></div>

<p><a href="interfacedataaccess_1_1dao_1_1_word_d_a_o-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a58adc83c31bbd584aa54cc799cbcdcb6">saveWord</a> (<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> word)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a3f39760cffe5bbc415e4d66ed3cb4a0c">deleteWord</a> (<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> word)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a6b1f9c2c01db0a4338af7c8496d4f335">getWord</a> (<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> word)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Map&lt; String, <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a201645375a5f15c78323ee22e1ac9f69">getVocabulary</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a0caeb4a8ca92a11788e7a53a9791303f">getNrWord</a> (<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> word)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Esta interface define las operaciones validas a realizarse en términos de persistencia sobre un objeto de tipo Word.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Altamirano Liberal Peker </dd></dl>

<p>Definition at line <a class="el" href="_word_d_a_o_8java_source.html#l00013">13</a> of file <a class="el" href="_word_d_a_o_8java_source.html">WordDAO.java</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a3f39760cffe5bbc415e4d66ed3cb4a0c"></a><!-- doxytag: member="dataaccess::dao::WordDAO::deleteWord" ref="a3f39760cffe5bbc415e4d66ed3cb4a0c" args="(Word word)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a3f39760cffe5bbc415e4d66ed3cb4a0c">dataaccess.dao.WordDAO.deleteWord</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a>&#160;</td>
          <td class="paramname"><em>word</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Elimina la Word de la base de datos </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">word</td><td>la palabra a eliminar </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true si el word se pudo eliminar exitosamente, false en caso contrario </dd></dl>

<p>Implemented in <a class="el" href="classdataaccess_1_1postgresql_1_1_postgre_s_q_l_word_d_a_o.html#ae77df0affee89a844b40aa250af0658f">dataaccess.postgresql.PostgreSQLWordDAO</a>.</p>

</div>
</div>
<a class="anchor" id="a0caeb4a8ca92a11788e7a53a9791303f"></a><!-- doxytag: member="dataaccess::dao::WordDAO::getNrWord" ref="a0caeb4a8ca92a11788e7a53a9791303f" args="(Word word)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a0caeb4a8ca92a11788e7a53a9791303f">dataaccess.dao.WordDAO.getNrWord</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a>&#160;</td>
          <td class="paramname"><em>word</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classdataaccess_1_1postgresql_1_1_postgre_s_q_l_word_d_a_o.html#a8b9e63343f88e1ed973dd158701e66d8">dataaccess.postgresql.PostgreSQLWordDAO</a>.</p>

<p>Referenced by <a class="el" href="_post_list_8java_source.html#l00086">com.utn.searchengine.PostList.numberOfDocumentsWhereWordAppears()</a>.</p>

</div>
</div>
<a class="anchor" id="a201645375a5f15c78323ee22e1ac9f69"></a><!-- doxytag: member="dataaccess::dao::WordDAO::getVocabulary" ref="a201645375a5f15c78323ee22e1ac9f69" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Map&lt;String, <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a>&gt; <a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a201645375a5f15c78323ee22e1ac9f69">dataaccess.dao.WordDAO.getVocabulary</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Obtiene el identificador del word en la base de datos </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">word</td><td>el Word de la cual se desea saber su ID </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>el id del word </dd></dl>

<p>Implemented in <a class="el" href="classdataaccess_1_1postgresql_1_1_postgre_s_q_l_word_d_a_o.html#aa0a1f2db97af76ffa1067ce0769af6cb">dataaccess.postgresql.PostgreSQLWordDAO</a>.</p>

<p>Referenced by <a class="el" href="_post_list_8java_source.html#l00097">com.utn.searchengine.PostList.getAllWords()</a>, and <a class="el" href="_vocabulary_8java_source.html#l00027">com.utn.searchengine.Vocabulary.loadVocabularyWords()</a>.</p>

</div>
</div>
<a class="anchor" id="a6b1f9c2c01db0a4338af7c8496d4f335"></a><!-- doxytag: member="dataaccess::dao::WordDAO::getWord" ref="a6b1f9c2c01db0a4338af7c8496d4f335" args="(Word word)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> <a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a6b1f9c2c01db0a4338af7c8496d4f335">dataaccess.dao.WordDAO.getWord</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a>&#160;</td>
          <td class="paramname"><em>word</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Obtiene la Word correspondiente de la base de datos. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">word</td><td>la palabra a obtener </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>el word que se desea obtener, null en caso que la palabra no exista </dd></dl>

<p>Implemented in <a class="el" href="classdataaccess_1_1postgresql_1_1_postgre_s_q_l_word_d_a_o.html#aabb6679c38d52dafecc1eb9135539fa2">dataaccess.postgresql.PostgreSQLWordDAO</a>.</p>

</div>
</div>
<a class="anchor" id="a58adc83c31bbd584aa54cc799cbcdcb6"></a><!-- doxytag: member="dataaccess::dao::WordDAO::saveWord" ref="a58adc83c31bbd584aa54cc799cbcdcb6" args="(Word word)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a58adc83c31bbd584aa54cc799cbcdcb6">dataaccess.dao.WordDAO.saveWord</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a>&#160;</td>
          <td class="paramname"><em>word</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Graba un Word en la base de datos. Si el Word ya existia la actualiza y si no existia la inserta en la base de datos. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">word</td><td>la palabra a grabar </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true si la operacion se pudo realizar exitosamente, false en caso contrario </dd></dl>

<p>Implemented in <a class="el" href="classdataaccess_1_1postgresql_1_1_postgre_s_q_l_word_d_a_o.html#af4dd5f009436282ecd62b19a19c2f133">dataaccess.postgresql.PostgreSQLWordDAO</a>.</p>

<p>Referenced by <a class="el" href="_vocabulary_8java_source.html#l00054">com.utn.searchengine.Vocabulary.addDocumentWords()</a>.</p>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>src/main/java/DataAccess/dao/<a class="el" href="_word_d_a_o_8java_source.html">WordDAO.java</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Feb 16 2012 02:45:40 for DLC Search Engine by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
